package com.atguigu.daijia.driver.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component//创建为对象
//从配置文件中去取值，后面放配置的前缀
@ConfigurationProperties(prefix = "wx.miniapp")
public class WxProperties {
    private String appid;
    private String secret;
}
